* {
    margin: 0px;
    padding: 0px;
}

#all {
    width: 1000px;
    margin: auto;
}

.small-pic {
    width: 50px;
    height: 50px;
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

/* 输入框样式 */
.search-container input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 300px;
    margin-right: 10px;
}

/* 新增按钮样式 */
.search-container input[type="button"] {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

/* 新增按钮悬停效果 */
.search-container input[type="button"]:hover {
    background-color: #218838;
}

/* 搜索按钮样式 */
.search-container button[type="submit"] {
    border: none;
    background-color: #488bea;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 5px;
}

/* 搜索按钮悬停效果 */
.search-container button[type="submit"]:hover {
    background-color: #0069d9;
}






/* 重置一些默认样式 */
body,
ul,
li,
a {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

/* 设置头部样式 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #cadffc;
    color: white;
    height: 50px;
    /* 设置头部高度为100px */
    padding: 0 20px;
    /* 添加左右内边距 */
}

/* 设置导航菜单样式 */
nav ul {
    display: flex;
    gap: 20px;
    /* 导航项之间的间距 */
}

nav ul li a {
    color: white;
    font-size: 16px;
    padding: 10px 15px;
    /* 添加一些内边距 */
    display: block;
}

nav ul li a:hover {
    background-color: #cadffc;
    /* 鼠标悬停时的背景颜色 */
}

/* 设置登录/注册按钮样式 */
.login {
    display: flex;
    gap: 10px;
    /* 登录和注册按钮之间的间距 */
}

.login a {
    color: white;
    font-size: 16px;
    padding: 10px 15px;
    /* 添加一些内边距 */
    display: block;
}

.login a:hover {
    background-color: #cadffc;
    /* 鼠标悬停时的背景颜色 */
}

#content,
tr,
th,
td {
    border: gray;
    text-align: center;
    box-shadow: 0;
    padding: 5px;
}

.one,
.two,
.four,
.five {
    width: 100px;
}



.text {
    font-size: 14px;
    text-align: left;
}

tr:nth-child(odd) {
    background-color: #cadffc;
}

th {
    background-color: #cadffc;
    height: 40px;
}

tr:nth-child(even) {
    background-color: white;
}

#insert {
    border: none;
    background-color: #488bea;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 5px;
}



.operation {

    padding: 5px 5px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.operation:hover {
    background-color: #4dc9fa74;
}

.operation:focus,
.operation:active {
    background-color: #488bea;
    /* 更深的蓝色 */
}